package com.ruoyi.common.log.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.log.domain.Factory;
import com.ruoyi.common.log.service.FactoryService;
import com.ruoyi.common.log.mapper.FactoryMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author A
* @description 针对表【sys_factory】的数据库操作Service实现
* @createDate 2024-09-05 14:39:03
*/
@Service
public class FactoryServiceImpl extends ServiceImpl<FactoryMapper, Factory>
    implements FactoryService{

    @Autowired
    FactoryMapper factoryMapper;
    @Override
    public List<Factory> factoryList(Factory factory) {
        return factoryMapper.factoryList(factory);
    }

    @Override
    public List<Factory> getSelect(Integer factoryId) {
        return factoryMapper.getSelect(factoryId);
    }
}




